package com.extension.company.model.entity;

import java.util.List;

/**
 * 作者:zwk
 * 联系方式：497981239@qq.com
 * 时间：on 2019/8/9 09:21
 * 功能：购物车的清单
 */
public class CarShopBean {


	/**
	 * code : 200
	 * msg : 获取成功
	 * time : 1565936589
	 * data : [{"id":77,"user_id":5,"bus_id":1,"content":[{"bus_id":1,"bus_name":"小米官方店","logo_image":"/uploads/20190723/e6be835b75a68735ba95d7357152f585.png","goods_info":[{"goods_name":"脆皮烤肠好吃的烤肠不是谁都能吃到的速抢111","goods_price":"0.10","goods_id":"53","goods_num":1,"stock_num":52,"spec_sku_id":"69_66","spec_image":"/uploads/20190728/89d3386db1d6c4c53f0613867dad67e2.jpg","goods_attr":"重量:3kg; 口味:五香; "}]}],"createtime":1565936356,"updatetime":1565936356,"status":"1"}]
	 */

	private int code;
	private String msg;
	private String time;
	private List<DataBean> data;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public List<DataBean> getData() {
		return data;
	}

	public void setData(List<DataBean> data) {
		this.data = data;
	}

	public static class DataBean {
		/**
		 * id : 77
		 * user_id : 5
		 * bus_id : 1
		 * content : [{"bus_id":1,"bus_name":"小米官方店","logo_image":"/uploads/20190723/e6be835b75a68735ba95d7357152f585.png","goods_info":[{"goods_name":"脆皮烤肠好吃的烤肠不是谁都能吃到的速抢111","goods_price":"0.10","goods_id":"53","goods_num":1,"stock_num":52,"spec_sku_id":"69_66","spec_image":"/uploads/20190728/89d3386db1d6c4c53f0613867dad67e2.jpg","goods_attr":"重量:3kg; 口味:五香; "}]}]
		 * createtime : 1565936356
		 * updatetime : 1565936356
		 * status : 1
		 */

		private int id;
		private int user_id;
		private int bus_id;
		private int createtime;
		private int updatetime;
		private String status;
		private List<ContentBean> content;

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public int getUser_id() {
			return user_id;
		}

		public void setUser_id(int user_id) {
			this.user_id = user_id;
		}

		public int getBus_id() {
			return bus_id;
		}

		public void setBus_id(int bus_id) {
			this.bus_id = bus_id;
		}

		public int getCreatetime() {
			return createtime;
		}

		public void setCreatetime(int createtime) {
			this.createtime = createtime;
		}

		public int getUpdatetime() {
			return updatetime;
		}

		public void setUpdatetime(int updatetime) {
			this.updatetime = updatetime;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public List<ContentBean> getContent() {
			return content;
		}

		public void setContent(List<ContentBean> content) {
			this.content = content;
		}

		public static class ContentBean {
			/**
			 * bus_id : 1
			 * bus_name : 小米官方店
			 * logo_image : /uploads/20190723/e6be835b75a68735ba95d7357152f585.png
			 * goods_info : [{"goods_name":"脆皮烤肠好吃的烤肠不是谁都能吃到的速抢111","goods_price":"0.10","goods_id":"53","goods_num":1,"stock_num":52,"spec_sku_id":"69_66","spec_image":"/uploads/20190728/89d3386db1d6c4c53f0613867dad67e2.jpg","goods_attr":"重量:3kg; 口味:五香; "}]
			 */

			private int bus_id;
			private String bus_name;
			private String logo_image;
			private List<GoodsInfoBean> goods_info;

			public int getBus_id() {
				return bus_id;
			}

			public void setBus_id(int bus_id) {
				this.bus_id = bus_id;
			}

			public String getBus_name() {
				return bus_name;
			}

			public void setBus_name(String bus_name) {
				this.bus_name = bus_name;
			}

			public String getLogo_image() {
				return logo_image;
			}

			public void setLogo_image(String logo_image) {
				this.logo_image = logo_image;
			}

			public List<GoodsInfoBean> getGoods_info() {
				return goods_info;
			}

			public void setGoods_info(List<GoodsInfoBean> goods_info) {
				this.goods_info = goods_info;
			}

			public static class GoodsInfoBean {
				/**
				 * goods_name : 脆皮烤肠好吃的烤肠不是谁都能吃到的速抢111
				 * goods_price : 0.10
				 * goods_id : 53
				 * goods_num : 1
				 * stock_num : 52
				 * spec_sku_id : 69_66
				 * spec_image : /uploads/20190728/89d3386db1d6c4c53f0613867dad67e2.jpg
				 * goods_attr : 重量:3kg; 口味:五香;
				 */

				private String goods_name;
				private String goods_price;
				private String goods_id;
				private int goods_num;
				private int stock_num;
				private String spec_sku_id;
				private String spec_image;
				private String goods_attr;

				public String getGoods_name() {
					return goods_name;
				}

				public void setGoods_name(String goods_name) {
					this.goods_name = goods_name;
				}

				public String getGoods_price() {
					return goods_price;
				}

				public void setGoods_price(String goods_price) {
					this.goods_price = goods_price;
				}

				public String getGoods_id() {
					return goods_id;
				}

				public void setGoods_id(String goods_id) {
					this.goods_id = goods_id;
				}

				public int getGoods_num() {
					return goods_num;
				}

				public void setGoods_num(int goods_num) {
					this.goods_num = goods_num;
				}

				public int getStock_num() {
					return stock_num;
				}

				public void setStock_num(int stock_num) {
					this.stock_num = stock_num;
				}

				public String getSpec_sku_id() {
					return spec_sku_id;
				}

				public void setSpec_sku_id(String spec_sku_id) {
					this.spec_sku_id = spec_sku_id;
				}

				public String getSpec_image() {
					return spec_image;
				}

				public void setSpec_image(String spec_image) {
					this.spec_image = spec_image;
				}

				public String getGoods_attr() {
					return goods_attr;
				}

				public void setGoods_attr(String goods_attr) {
					this.goods_attr = goods_attr;
				}
			}
		}
	}
}
